SignUpScreen

fun SignUpScreen(modifier: Modifier = Modifier, viewModel: SignupViewModel = hiltViewModel(), openDrawer: () -> Unit, onSignUpResult: () -> Unit)

Composable function representing the Sign Up screen.

This screen allows the user to sign up for an account by providing their email, password, and confirming the password. It calls the provided onSignUpResult callback after a successful sign-up.

Parameters

modifier

The modifier to be applied to the Scaffold layout.

viewModel

The SignupViewModel instance used to manage UI state and actions.

openDrawer

A lambda function that triggers the opening of a navigation drawer.

onSignUpResult

A lambda function that is invoked when the sign-up process finishes successfully.